package com.xiaodou.mjf.web.xface.user.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by Rocky on 2/3/15.
 */
public class beautyProductTransactionInfo {

	// 产品名称
	private String name;
	// 投资金额
	private String amount;
	// 期限
	private String term;
	// 购买日期
	@JsonFormat(pattern = "yyyy-MM-dd")
	@JsonProperty("purchase_date")
	private String purchaseDate;
	// 还本日期
	@JsonFormat(pattern = "yyyy-MM-dd")
	@JsonProperty("repayment_date")
	private String repaymentDate;
	// 使用期限
	@JsonFormat(pattern = "yyyy-MM-dd")
	@JsonProperty("exipry_date")
	private String exipryDate;
	// 赚取收益
	@JsonProperty("earned_profit")
	private String earnedProfit;
	// 返回状态
	private String status;

	// 订单编码
	@JsonProperty("order_code")
	private String orderCode;

	public beautyProductTransactionInfo(String name, String amount,
			String term, String purchaseDate, String repaymentDate,
			String exipryDate, String earnedProfit, String status,
			String orderCode) {
		super();
		this.name = name;
		this.amount = amount;
		this.term = term;
		this.purchaseDate = purchaseDate;
		this.repaymentDate = repaymentDate;
		this.exipryDate = exipryDate;
		this.earnedProfit = earnedProfit;
		this.status = status;
		this.orderCode = orderCode;
	}



	public beautyProductTransactionInfo() {
	}



	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the amount
	 */
	public String getAmount() {
		return amount;
	}

	/**
	 * @param amount
	 *            the amount to set
	 */
	public void setAmount(String amount) {
		this.amount = amount;
	}

	/**
	 * @return the purchaseDate
	 */
	public String getPurchaseDate() {
		return purchaseDate;
	}

	/**
	 * @param purchaseDate
	 *            the purchaseDate to set
	 */
	public void setPurchaseDate(String purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	/**
	 * @return the term
	 */
	public String getTerm() {
		return term;
	}

	/**
	 * @param term
	 *            the term to set
	 */
	public void setTerm(String term) {
		this.term = term;
	}

	/**
	 * @return the repaymentDate
	 */
	public String getRepaymentDate() {
		return repaymentDate;
	}

	/**
	 * @param repaymentDate
	 *            the repaymentDate to set
	 */
	public void setRepaymentDate(String repaymentDate) {
		this.repaymentDate = repaymentDate;
	}

	/**
	 * @return the exipryDate
	 */
	public String getExipryDate() {
		return exipryDate;
	}

	/**
	 * @param exipryDate
	 *            the exipryDate to set
	 */
	public void setExipryDate(String exipryDate) {
		this.exipryDate = exipryDate;
	}





	public String getStatus() {
		return status;
	}



	public void setStatus(String status) {
		this.status = status;
	}



	public String getEarnedProfit() {
		return earnedProfit;
	}



	public void setEarnedProfit(String earnedProfit) {
		this.earnedProfit = earnedProfit;
	}



	public String getOrderCode() {
		return orderCode;
	}



	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}




}
